
Component({
    options: {
      multipleSlots: true // 在组件定义时的选项中启用多slot支持
    },
  
    properties: {
    
        schoolAlumnusListArray: { // 数据源
        type: Array,
        value: []
      },
      schoolShulianListArray: { // 数据源
        type: Array,
        value: []
      },
      schoolKeusoftListArray: { // 数据源
        type: Array,
        value: []
      },

      nomore: {
        type: Boolean,
        value: false
      },
    },
   
    data: {
      /*  私有数据 */
      
    },

    methods: {
        cellSelectAction(event) {
            wx.navigateTo({
                url: '/pages/index/schooldetail/schooldetail?id=' + event.currentTarget.dataset.id,
            })
        },

        // 跳转校友会排行
        headerOneSelectAction() {
            wx.navigateTo({
              url: '/pages/index/schoolrank/schoolrank?selectindex=0',
            })
        },
        // 跳转武书连排行
        headerTwoSelectAction() {
            wx.navigateTo({
                url: '/pages/index/schoolrank/schoolrank?selectindex=1',
              })
        },
        // 跳转软科排行榜
        headerThreeSelectAction() {
            wx.navigateTo({
                url: '/pages/index/schoolrank/schoolrank?selectindex=2',
              })
        },
        /** 列表点击事件 */
    cellSelectAction(event) {
        console.log(event)
        wx.navigateTo({
            url: '/pages/index/schooldetail/schooldetail?id=' + event.currentTarget.dataset.id,
        })
    },
    }
  })
  